package com.foreknow.domo7;

public class Penguin extends Pet {
    @Override
    public void toHospital() {
        this.setHealth(70);
        System.out.println("吃药、医疗......");
    }

    @Override
    public void eat() {
        System.out.println("吃鱼.......");
    }

    public void swimming() {
        System.out.println("游泳......");
    }
}
